package cn.lucky.se.entity;

/**
 * @Author:蒋凌鹏
 * @Date:2020/9/15
 * @Explain:javaseries
 */
public class Students extends Person{

    private Integer id;
    private String username;
    private int age;
    private int height;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public int getHeight() {
        return height;
    }

    @Override
    public void setHeight(int height) {
        this.height = height;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Students(Integer id, String username) {
        this.id = id;
        this.username = username;
    }

    public Students() {
    }

    @Override
    public String toString() {
        return "Students{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", age=" + age +
                ", height=" + height +
                '}';
    }
}
